import {axiosG, axiosK, axiosP} from "@/api";

/**
 * @description 单号
 * */
export const allotApi = data => axiosP("expressOrder/allot", data); // 分配单号
export const getMyNumberApi = () => axiosG("expressOrder/listRange"); // 获得可用单号
export const enteringApi = data => axiosK("expressOrder/entering", data); // 录入单号
export const getEnteringApi = data => axiosG("/expressOrder/listEntering", data); // 获得已经录入单号
export const pageRecordsApi = data => axiosG("expressOrder/pageRecords", data); // 分页获得分配单号列表
export const recallApi = data => axiosP("expressOrder/recallNumber", data); // 撤回单号
